package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 限时优惠券场次表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:08
 */
@Getter
@Setter
@TableName("t_limit_coupon_matches_config")
@ApiModel(value = "LimitCouponMatchesConfig对象", description = "限时优惠券场次表")
public class LimitCouponMatchesConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("优惠券场次配置")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("抢购时间")
    @TableField("snapped_time")
    private Date snappedTime;

    @ApiModelProperty("本场抢购状态（0= 即将开抢，1=正在抢购 2=本场已结束）")
    @TableField("limit_status")
    private Integer limitStatus;

    @ApiModelProperty("本场有效期时间（分钟）")
    @TableField("limit_coupon_expired_time")
    private Integer limitCouponExpiredTime;

    @ApiModelProperty("是否删除(0=否，1=是)")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
